package com.explorx.sns.puma.im.core.dal.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ConversationEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ConversationEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("cid is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cid is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(Long value) {
            addCriterion("cid =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(Long value) {
            addCriterion("cid <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(Long value) {
            addCriterion("cid >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(Long value) {
            addCriterion("cid >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(Long value) {
            addCriterion("cid <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(Long value) {
            addCriterion("cid <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<Long> values) {
            addCriterion("cid in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<Long> values) {
            addCriterion("cid not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(Long value1, Long value2) {
            addCriterion("cid between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(Long value1, Long value2) {
            addCriterion("cid not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andBizIdIsNull() {
            addCriterion("biz_id is null");
            return (Criteria) this;
        }

        public Criteria andBizIdIsNotNull() {
            addCriterion("biz_id is not null");
            return (Criteria) this;
        }

        public Criteria andBizIdEqualTo(Integer value) {
            addCriterion("biz_id =", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotEqualTo(Integer value) {
            addCriterion("biz_id <>", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdGreaterThan(Integer value) {
            addCriterion("biz_id >", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("biz_id >=", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdLessThan(Integer value) {
            addCriterion("biz_id <", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdLessThanOrEqualTo(Integer value) {
            addCriterion("biz_id <=", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdIn(List<Integer> values) {
            addCriterion("biz_id in", values, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotIn(List<Integer> values) {
            addCriterion("biz_id not in", values, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdBetween(Integer value1, Integer value2) {
            addCriterion("biz_id between", value1, value2, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotBetween(Integer value1, Integer value2) {
            addCriterion("biz_id not between", value1, value2, "bizId");
            return (Criteria) this;
        }

        public Criteria andMuteIsNull() {
            addCriterion("mute is null");
            return (Criteria) this;
        }

        public Criteria andMuteIsNotNull() {
            addCriterion("mute is not null");
            return (Criteria) this;
        }

        public Criteria andMuteEqualTo(Boolean value) {
            addCriterion("mute =", value, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteNotEqualTo(Boolean value) {
            addCriterion("mute <>", value, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteGreaterThan(Boolean value) {
            addCriterion("mute >", value, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteGreaterThanOrEqualTo(Boolean value) {
            addCriterion("mute >=", value, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteLessThan(Boolean value) {
            addCriterion("mute <", value, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteLessThanOrEqualTo(Boolean value) {
            addCriterion("mute <=", value, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteIn(List<Boolean> values) {
            addCriterion("mute in", values, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteNotIn(List<Boolean> values) {
            addCriterion("mute not in", values, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteBetween(Boolean value1, Boolean value2) {
            addCriterion("mute between", value1, value2, "mute");
            return (Criteria) this;
        }

        public Criteria andMuteNotBetween(Boolean value1, Boolean value2) {
            addCriterion("mute not between", value1, value2, "mute");
            return (Criteria) this;
        }

        public Criteria andVisibleIsNull() {
            addCriterion("visible is null");
            return (Criteria) this;
        }

        public Criteria andVisibleIsNotNull() {
            addCriterion("visible is not null");
            return (Criteria) this;
        }

        public Criteria andVisibleEqualTo(Boolean value) {
            addCriterion("visible =", value, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleNotEqualTo(Boolean value) {
            addCriterion("visible <>", value, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleGreaterThan(Boolean value) {
            addCriterion("visible >", value, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleGreaterThanOrEqualTo(Boolean value) {
            addCriterion("visible >=", value, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleLessThan(Boolean value) {
            addCriterion("visible <", value, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleLessThanOrEqualTo(Boolean value) {
            addCriterion("visible <=", value, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleIn(List<Boolean> values) {
            addCriterion("visible in", values, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleNotIn(List<Boolean> values) {
            addCriterion("visible not in", values, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleBetween(Boolean value1, Boolean value2) {
            addCriterion("visible between", value1, value2, "visible");
            return (Criteria) this;
        }

        public Criteria andVisibleNotBetween(Boolean value1, Boolean value2) {
            addCriterion("visible not between", value1, value2, "visible");
            return (Criteria) this;
        }

        public Criteria andTopRankIsNull() {
            addCriterion("top_rank is null");
            return (Criteria) this;
        }

        public Criteria andTopRankIsNotNull() {
            addCriterion("top_rank is not null");
            return (Criteria) this;
        }

        public Criteria andTopRankEqualTo(Integer value) {
            addCriterion("top_rank =", value, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankNotEqualTo(Integer value) {
            addCriterion("top_rank <>", value, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankGreaterThan(Integer value) {
            addCriterion("top_rank >", value, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankGreaterThanOrEqualTo(Integer value) {
            addCriterion("top_rank >=", value, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankLessThan(Integer value) {
            addCriterion("top_rank <", value, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankLessThanOrEqualTo(Integer value) {
            addCriterion("top_rank <=", value, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankIn(List<Integer> values) {
            addCriterion("top_rank in", values, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankNotIn(List<Integer> values) {
            addCriterion("top_rank not in", values, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankBetween(Integer value1, Integer value2) {
            addCriterion("top_rank between", value1, value2, "topRank");
            return (Criteria) this;
        }

        public Criteria andTopRankNotBetween(Integer value1, Integer value2) {
            addCriterion("top_rank not between", value1, value2, "topRank");
            return (Criteria) this;
        }

        public Criteria andRedPointIsNull() {
            addCriterion("red_point is null");
            return (Criteria) this;
        }

        public Criteria andRedPointIsNotNull() {
            addCriterion("red_point is not null");
            return (Criteria) this;
        }

        public Criteria andRedPointEqualTo(Integer value) {
            addCriterion("red_point =", value, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointNotEqualTo(Integer value) {
            addCriterion("red_point <>", value, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointGreaterThan(Integer value) {
            addCriterion("red_point >", value, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("red_point >=", value, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointLessThan(Integer value) {
            addCriterion("red_point <", value, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointLessThanOrEqualTo(Integer value) {
            addCriterion("red_point <=", value, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointIn(List<Integer> values) {
            addCriterion("red_point in", values, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointNotIn(List<Integer> values) {
            addCriterion("red_point not in", values, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointBetween(Integer value1, Integer value2) {
            addCriterion("red_point between", value1, value2, "redPoint");
            return (Criteria) this;
        }

        public Criteria andRedPointNotBetween(Integer value1, Integer value2) {
            addCriterion("red_point not between", value1, value2, "redPoint");
            return (Criteria) this;
        }

        public Criteria andMinCursorIsNull() {
            addCriterion("min_cursor is null");
            return (Criteria) this;
        }

        public Criteria andMinCursorIsNotNull() {
            addCriterion("min_cursor is not null");
            return (Criteria) this;
        }

        public Criteria andMinCursorEqualTo(Date value) {
            addCriterion("min_cursor =", value, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorNotEqualTo(Date value) {
            addCriterion("min_cursor <>", value, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorGreaterThan(Date value) {
            addCriterion("min_cursor >", value, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorGreaterThanOrEqualTo(Date value) {
            addCriterion("min_cursor >=", value, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorLessThan(Date value) {
            addCriterion("min_cursor <", value, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorLessThanOrEqualTo(Date value) {
            addCriterion("min_cursor <=", value, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorIn(List<Date> values) {
            addCriterion("min_cursor in", values, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorNotIn(List<Date> values) {
            addCriterion("min_cursor not in", values, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorBetween(Date value1, Date value2) {
            addCriterion("min_cursor between", value1, value2, "minCursor");
            return (Criteria) this;
        }

        public Criteria andMinCursorNotBetween(Date value1, Date value2) {
            addCriterion("min_cursor not between", value1, value2, "minCursor");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdIsNull() {
            addCriterion("last_message_id is null");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdIsNotNull() {
            addCriterion("last_message_id is not null");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdEqualTo(Long value) {
            addCriterion("last_message_id =", value, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdNotEqualTo(Long value) {
            addCriterion("last_message_id <>", value, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdGreaterThan(Long value) {
            addCriterion("last_message_id >", value, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdGreaterThanOrEqualTo(Long value) {
            addCriterion("last_message_id >=", value, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdLessThan(Long value) {
            addCriterion("last_message_id <", value, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdLessThanOrEqualTo(Long value) {
            addCriterion("last_message_id <=", value, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdIn(List<Long> values) {
            addCriterion("last_message_id in", values, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdNotIn(List<Long> values) {
            addCriterion("last_message_id not in", values, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdBetween(Long value1, Long value2) {
            addCriterion("last_message_id between", value1, value2, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andLastMessageIdNotBetween(Long value1, Long value2) {
            addCriterion("last_message_id not between", value1, value2, "lastMessageId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Integer value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Integer value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Integer value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Integer value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Integer value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Integer> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Integer> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Integer value1, Integer value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andExtInfoIsNull() {
            addCriterion("ext_info is null");
            return (Criteria) this;
        }

        public Criteria andExtInfoIsNotNull() {
            addCriterion("ext_info is not null");
            return (Criteria) this;
        }

        public Criteria andExtInfoEqualTo(String value) {
            addCriterion("ext_info =", value, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoNotEqualTo(String value) {
            addCriterion("ext_info <>", value, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoGreaterThan(String value) {
            addCriterion("ext_info >", value, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoGreaterThanOrEqualTo(String value) {
            addCriterion("ext_info >=", value, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoLessThan(String value) {
            addCriterion("ext_info <", value, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoLessThanOrEqualTo(String value) {
            addCriterion("ext_info <=", value, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoLike(String value) {
            addCriterion("ext_info like", value, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoNotLike(String value) {
            addCriterion("ext_info not like", value, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoIn(List<String> values) {
            addCriterion("ext_info in", values, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoNotIn(List<String> values) {
            addCriterion("ext_info not in", values, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoBetween(String value1, String value2) {
            addCriterion("ext_info between", value1, value2, "extInfo");
            return (Criteria) this;
        }

        public Criteria andExtInfoNotBetween(String value1, String value2) {
            addCriterion("ext_info not between", value1, value2, "extInfo");
            return (Criteria) this;
        }

        public Criteria andPartnerIdIsNull() {
            addCriterion("partner_id is null");
            return (Criteria) this;
        }

        public Criteria andPartnerIdIsNotNull() {
            addCriterion("partner_id is not null");
            return (Criteria) this;
        }

        public Criteria andPartnerIdEqualTo(Long value) {
            addCriterion("partner_id =", value, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdNotEqualTo(Long value) {
            addCriterion("partner_id <>", value, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdGreaterThan(Long value) {
            addCriterion("partner_id >", value, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("partner_id >=", value, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdLessThan(Long value) {
            addCriterion("partner_id <", value, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdLessThanOrEqualTo(Long value) {
            addCriterion("partner_id <=", value, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdIn(List<Long> values) {
            addCriterion("partner_id in", values, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdNotIn(List<Long> values) {
            addCriterion("partner_id not in", values, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdBetween(Long value1, Long value2) {
            addCriterion("partner_id between", value1, value2, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerIdNotBetween(Long value1, Long value2) {
            addCriterion("partner_id not between", value1, value2, "partnerId");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasIsNull() {
            addCriterion("partner_alias is null");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasIsNotNull() {
            addCriterion("partner_alias is not null");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasEqualTo(String value) {
            addCriterion("partner_alias =", value, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasNotEqualTo(String value) {
            addCriterion("partner_alias <>", value, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasGreaterThan(String value) {
            addCriterion("partner_alias >", value, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasGreaterThanOrEqualTo(String value) {
            addCriterion("partner_alias >=", value, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasLessThan(String value) {
            addCriterion("partner_alias <", value, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasLessThanOrEqualTo(String value) {
            addCriterion("partner_alias <=", value, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasLike(String value) {
            addCriterion("partner_alias like", value, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasNotLike(String value) {
            addCriterion("partner_alias not like", value, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasIn(List<String> values) {
            addCriterion("partner_alias in", values, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasNotIn(List<String> values) {
            addCriterion("partner_alias not in", values, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasBetween(String value1, String value2) {
            addCriterion("partner_alias between", value1, value2, "partnerAlias");
            return (Criteria) this;
        }

        public Criteria andPartnerAliasNotBetween(String value1, String value2) {
            addCriterion("partner_alias not between", value1, value2, "partnerAlias");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}